README

Replication data and code for "Mobilization and Strategies: Comparing Trade Lobbying in the U.S. and Canada"

Comparative Political Studies
Date: 10 May 2023
*******************************************************************************************************



Files for replication:

1) Code Files

 [1] 01_main.R: Reproduction code for all tables and figures included in the main part of the article.
 [2] 02_appendix.R: Reproduction code for all tables and figures included in the online appendix.
 [3] 03_usmca_google_trends.do: Reproduction code using usmca_google_trends.dta to produce Figure A4 in the appendix.



2) Data Files

 [1] ca_lobbyists.csv                          
 [2] ca_lobbyists_tpp.csv                      
 [3] ca_naics_count.csv                        
 [4] ca_naics_count_tpp.csv                    
 [5] can_clients.csv                           
 [6] can_clients_inst.csv                      
 [7] can_clients_lobbyists.csv                 
 [8] can_clients_lobbyists_tpp.csv             
 [9] can_clients_tpp.csv                       
[10] instlob_ca_all_clients.csv                
[11] instlob_ca_usmca_tpp_clients.csv          
[12] instlob_us_all_clients.csv                
[13] instlob_us_usmca_tpp_clients.csv          
[14] mobilization_ca_us_20211022.csv           
[15] mobilization_ca_us_20211022_tpp_replic.csv                      
[16] panel_can.csv                             
[17] panel_usa.csv                             
[18] us_lobbyists.csv                          
[19] us_lobbyists_tpp.csv                      
[20] us_naics_count.csv                        
[21] us_naics_count_tpp.csv                    
[22] usa_clients.csv                           
[23] usa_clients_comms.csv                     
[24] usa_clients_lobbyists.csv                 
[25] usa_clients_lobbyists_tpp.csv             
[26] usa_clients_tpp.csv
[27] usmca_google_trends.dta




Software versions:

All data analyses were conducted using R Studio [Version 4.2.2]


> sessionInfo()
R version 4.2.2 (2022-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19044)

Matrix products: default

locale:
[1] LC_COLLATE=English_United Kingdom.utf8  LC_CTYPE=English_United Kingdom.utf8    LC_MONETARY=English_United Kingdom.utf8
[4] LC_NUMERIC=C                            LC_TIME=English_United Kingdom.utf8    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] xtable_1.8-4      rio_0.5.29        tidyr_1.3.0       data.table_1.14.6 dplyr_1.1.0       stargazer_5.2.3   readr_2.1.3       lmtest_0.9-40    
 [9] zoo_1.8-11        sandwich_3.0-2    lfe_2.8-8         Matrix_1.5-1      ggplot2_3.4.0     kableExtra_1.3.4  knitr_1.41        lubridate_1.9.0  
[17] timechange_0.1.1 

loaded via a namespace (and not attached):
 [1] httr_1.4.4        bit64_4.0.5       vroom_1.6.0       viridisLite_0.4.1 Formula_1.2-4     cellranger_1.1.0  yaml_2.3.6        pillar_1.8.1     
 [9] backports_1.4.1   lattice_0.20-45   glue_1.6.2        digest_0.6.31     rvest_1.0.3       colorspace_2.0-3  htmltools_0.5.4   pkgconfig_2.0.3  
[17] broom_1.0.2       haven_2.5.1       purrr_1.0.1       scales_1.2.1      webshot_0.5.4     svglite_2.1.0     openxlsx_4.2.5.1  tzdb_0.3.0       
[25] tibble_3.1.8      generics_0.1.3    farver_2.1.1      ellipsis_0.3.2    pacman_0.5.1      withr_2.5.0       cli_3.5.0         magrittr_2.0.3   
[33] crayon_1.5.2      readxl_1.4.1      evaluate_0.19     fansi_1.0.3       forcats_0.5.2     xml2_1.3.3        foreign_0.8-83    textshaping_0.3.6
[41] tools_4.2.2       hms_1.1.2         lifecycle_1.0.3   stringr_1.5.0     munsell_0.5.0     zip_2.2.2         compiler_4.2.2    systemfonts_1.0.4
[49] rlang_1.0.6       grid_4.2.2        rstudioapi_0.14   labeling_0.4.2    rmarkdown_2.19    gtable_0.3.1      DBI_1.1.3         curl_4.3.3       
[57] R6_2.5.1          fastmap_1.1.0     bit_4.0.5         utf8_1.2.2        ragg_1.2.4        stringi_1.7.8     parallel_4.2.2    Rcpp_1.0.10      
[65] vctrs_0.5.2       tidyselect_1.2.0  xfun_0.36